//
//  IMModel.h
//  demo12-12
//
//  Created by king on 2017/12/14.
//  Copyright © 2017年 KC. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KCKit.h"

NS_ASSUME_NONNULL_BEGIN

KC_DUMMY_CLASS(KCTeam)
KC_DUMMY_CLASS(KCMember)

@interface IMModel : NSObject

- (instancetype)init NS_UNAVAILABLE;

- (instancetype)initWithTeam:(KCTeam *)model NS_DESIGNATED_INITIALIZER;

@property (nonatomic,strong,readonly)KCTeam *team;

@property (nonatomic,copy,readonly)NSArray<__kindof KCMember *> *members;

- (void)updateAllData:(nullable void (^)(NSError * __nullable error))then;

@end

NS_ASSUME_NONNULL_END
